/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Control;

import Modelo.Carrito;
import Modelo.Producto;
import Modelo.Usuario;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

/**
 *
 * @author culloam
 */
public class CarritComprasControl extends MultiActionController {
    
    private Usuario usuario;
    private Producto producto;
    private Carrito carrito;
    
     public ModelAndView verUsuario(HttpServletRequest request, HttpServletResponse response) throws Exception {
      
         ModelAndView mav = new ModelAndView("login");
         
         mav.addObject("usuario", usuario);
         mav.addObject("titulo", "Inicio de sesion");
         
         return mav;
     }
     
}
